import { createSSRApp } from "vue";
import App from "./App.vue";
import { pageInterceptor } from "@/utils/pageInterceptor";
import * as Pinia from 'pinia';

pageInterceptor.install();

export function createApp() {
	const app = createSSRApp(App);
	app.use(Pinia.createPinia());
	return {
		app,
		Pinia,
	};
}
